/// CreateTime 2020/6/5 14:08
/// CreateUser chen 
/// ProjectName flutter_elf
import 'package:flutter_elf/config/component_index.dart';
import 'package:sqflite/sqflite.dart';
import 'dart:io';

import 'download/file_utils.dart';
main(){
  String dir = 'D:/测试';
  Directory d = Directory(dir);
  List<String> name = [];
  for (FileSystemEntity entity in d.listSync()) {
    name.add(entity.path);
  }

  name.forEach((f){
    print(FileUtils.getFileName(f));
  });

}